﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceCS.DataStructure.Helpers
{
    public abstract class SystemBase
    {
        /// <summary>
        /// 
        /// </summary>
        protected abstract void InitStorageStructure();

        /// <summary>
        /// 
        /// </summary>
        protected abstract void MainLoop();

        /// <summary>
        /// 
        /// </summary>
        public virtual void Start()
        {
            InitStorageStructure();
            MainLoop();
        }
    }
}
